package cn.edu.ssm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.edu.ssm.dao.UserMapper;
import cn.edu.ssm.entity.User;
import cn.edu.ssm.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	@Autowired
	private UserMapper userMapper;

	@Override
	public User findUser(String username, String password) {
		return userMapper.findUser(username, password);
	}

	@Override
	public List<User> getUserList() {
		return userMapper.getUserList();
	}

}
